<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>create_ocr_class_box [HALCON算子参考手册]</title>
<style type="text/css">
      body {
    color: #000000;
    background-color: #ffffff;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.body_main {
    margin-left: 35px;
    margin-right: 35px;
}

@media screen and (min-width:992px) {

    .body_main {
        margin-left: 10%;
        margin-right: 10%;
    }

    table.toctable {
        width: 80%
    }
}

@media screen and (min-width:1400px) {

    .body_main {
        margin-left: 15%;
        margin-right: 15%;
    }

    table.toctable {
        width: 70%
    }
}

body>div ul ul {
    margin-left: inherit;
}

a:link {
    color: #0044cc;
}

a:link,
a:visited {
    text-decoration: none;
}

a:link:hover,
a:visited:hover {
    text-decoration: underline;
}

th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    color: #666666;
}

code {
    font-family: monospace,monospace;
}

h1 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

h2 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

hr {
    border: 0;
    border-top: solid 1px #f28d26;
}

.pre {
    display: block;
    padding-bottom: 1ex;
    font-family: monospace;
    white-space: pre;
}

pre {
    font-family: monospace, monospace;
    padding: 1ex;
    white-space: pre-wrap;
}

.toc {
    font-size: 80%;
    border-top: 1px dashed #f28d26;
    border-bottom: 1px dashed #f28d26;
    padding-top: 5px;
    padding-bottom: 5px;
}

.inv {
    margin: 0;
    border: 0;
    padding: 0;
}

.banner {
    color: #666666;
    padding-left: 1em;
}

.logo {
    background-color: white;
}

.keyboard {
    font-size: 80%;
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #f28d26;
    background-color: #f3f3f3;
}

.warning {
    margin-top: 2ex;
    margin-bottom: 1ex;
    padding: 10px;
    text-align: center;
    border: 1px solid;
    color: #bb0000;
    background-color: #fff7f7
}

.imprint {
    margin-top: 1ex;
    font-size: 80%;
    color: #666666;
}

.imprinthead {
    font-weight: bolder;
    color: #666666;
}

.indexlink {
    text-align: right;
    padding-bottom: 5px;
}

.postscript {
    margin-top: 2ex;
    font-size: 80%;
    color: #666666
}

.evenrow {
    background-color: #e7e7ef;
    vertical-align: top;
}

.oddrow {
    background-color: #f7f7ff;
    vertical-align: top;
}

.headrow {
    background-color: #97979f;
    color: #ffffff;
    vertical-align: top;
}

.logorow {
    vertical-align: top;
}

.error {
    color: red;
}

.var {
    font-style: italic
}

.halconoperator {
    font-family: monospace, monospace;
}

span.operator {
    font-family: monospace, monospace;
}

span.procedure {
    font-family: monospace, monospace;
}

span.operation {
    font-family: monospace, monospace;
}

span.feature {
    font-family: Arial, Helvetica, Homerton, sans-serif;
}

ul {
    padding-left: 1.2em;
}

li.dot {
    list-style-type: square;
    color: #f28d26;
}

.breadcrumb {
    font-size: 80%;
    color: white;
    background-color: #062d64;
    margin-bottom: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 15px;
}

.webbar {
    font-size: 80%;
    background-color: #dddddd;
    margin-top: 0px;
    margin-left: -35px;
    margin-right: -35px;
    margin-bottom: 0px;
    padding-top: 5px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 5px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px dashed #f28d26;
    font-size: 80%;
    color: #666666;
    padding-bottom: 8px;
}

.footer .socialmedia a {
    padding-left: 7px;
}

.socialmedia {
    padding-top: 10px;
}

.copyright {
    margin-top: 19px;
}

.breadcrumb a {
    color: #ffffff;
    border-bottom: 1px solid white;
}

.breadcrumb a:link:hover,
.breadcrumb a:visited:hover {
    text-decoration: none;
    border-bottom: none;
}

.heading {
    margin-top: 1ex;
    font-size: 110%;
    font-weight: bold;
    color: #666666;
}

.text {
    color: black;
}

.example {
    font-size: 80%;
    background-color: #f3f3f3;
    border: 1px dashed #666666;
    padding: 10px;
}

.displaymath {
    display: block;
    text-align: center;
    margin-top: 1ex;
    margin-bottom: 1ex;
}

.title {
    float: left;
    padding-top: 3px;
    padding-bottom: 3px;
}

.signnote {
    font-family: Arial, Helvetica, Homerton, sans-serif;
    font-size: 80%;
    color: #666666;
    font-weight: lighter;
    font-style: italic
}

.par {
    margin-bottom: 1.5em;
}

.parhead {
    text-align: right;
}

.parname {
    float: left;
}

.pardesc {
    font-size: 85%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 2em;
}

.parcat {
    color: #666;
    font-weight: bold;
}

*[data-if=cpp],
*[data-if=c],
*[data-if=dotnet],
*[data-if=com],
*[data-if=python] {
    display: none;
}

.tabbar {
    text-align: right;
    border-bottom: 1px solid #f28d26;
    margin-bottom: 0.5em;
}

ul.tabs {
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 80%
}

ul.tabs li {
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline;
    overflow: hidden;
    list-style-type: none;
    margin: 0;
    margin-left: 8px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
}

ul.tabs li.active {
    border-left: 1px solid #f28d26;
    border-right: 1px solid #f28d26;
    border-top: 1px solid #f28d26;
    border-bottom: 1px solid #fff;
}

ul.tabs li.inactive {
    background-color: #eee;
}

ul.tabs li a {
    padding-left: 5px;
    padding-right: 5px;
    color: #666;
}

ul.tabs li a:link:hover {
    text-decoration: none;
}

ul.tabs li.inactive a {
    color: #666;
}

ul.tabs li.active a {
    color: black;
}

dl.generic dd {
    margin-bottom: 1em;
}

.pari {
    color: olive;
}

.paro {
    color: maroon;
}

.comment {
    font-size: 80%;
    color: green;
    white-space: nowrap;
}

table.grid {
    border-collapse: collapse;
}

table.grid td {
    padding: 5px;
    border: 1px solid;
}

table.layout {
    border: 0px;
}

table.layout td {
    padding: 5px;
}

table.table {
    border-collapse: collapse;
}

table.table td {
    padding: 5px;
    border-left: 0px;
    border-right: 0px;
}

table.table tr:last-child {
    border-bottom: 1px solid;
}

table.table th {
    padding: 5px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-left: 0px;
    border-right: 0px;
}

.details_summary {
    cursor: pointer;
}

table.toctable {
    width: 100%;
}

table.toctable col:first-child {
    width: 20%;
}

table.toctable col:nth-last-child(2) {
    width: 8%;
}

table.altcolored tr:nth-child(even) {
    background-color: #f3f3f3;
}

    </style>
<!--OP_REF_STYLE_END-->
<script>
    <!--
var active_lang='hdevelop';function switchVisibility(obj,active_lang,new_lang)
{var display_style='inline';
for(var i=0;i<obj.length;i++)
{if(obj.item(i).getAttribute('data-if')==new_lang)
{obj.item(i).style.display=display_style;}
if(obj.item(i).getAttribute('data-if')==active_lang)
{obj.item(i).style.display='none';}}
return;}
function toggleLanguage(new_lang,initial)
{if(active_lang!=new_lang)
{var lis=document.getElementsByTagName('li');for(var i=0;i<lis.length;i++)
{if(lis.item(i).id=='syn-'+new_lang)
{lis.item(i).className='active';}
else
{lis.item(i).className='inactive';}}
var divs=document.getElementsByTagName('div');var spans=document.getElementsByTagName('span');switchVisibility(divs,active_lang,new_lang);switchVisibility(spans,active_lang,new_lang);if(!initial)
{setCookie("halcon_reference_language",new_lang,null,null);}
active_lang=new_lang;}
return;}
function setCookie(name,value,domain,exp_offset,path,secure)
{localStorage.setItem(name,value);}
function getCookie(name)
{return localStorage.getItem(name);}
function initialize()
{var qs=location.href.split('?')[1];var qs_lang_raw=location.href.split('interface=')[1];var qs_lang;if(qs_lang_raw)
{qs_lang=qs_lang_raw.split('#')[0];}
var cookie_lang=getCookie("halcon_reference_language");var new_lang;if((qs_lang=="hdevelop")||(qs_lang=="dotnet")||(qs_lang=="python")||(qs_lang=="cpp")||(qs_lang=="c"))
{new_lang=qs_lang;setCookie("halcon_reference_language",new_lang,null,null);}
else if((cookie_lang=="hdevelop")||(cookie_lang=="dotnet")||(cookie_lang=="python")||(cookie_lang=="cpp")||(cookie_lang=="c"))
{new_lang=cookie_lang;}
else
{new_lang="hdevelop";}
toggleLanguage(new_lang,1);return;}
-->

  </script>
</head>
<body onload="initialize();">
<div class="breadcrumb">
<br class="inv"><a href="index.html">目录</a> / <a href="toc_legacy.html">过时</a> / <a href="toc_legacy_ocr.html">OCR</a><br class="inv">
</div>
<div class="body_main">
<div class="tabbar"><ul class="tabs">
<li id="syn-hdevelop" class="active"><a href="javascript:void(0);" onclick="toggleLanguage('hdevelop')" onfocus="blur()">HDevelop</a></li>
<li id="syn-dotnet" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('dotnet')" onfocus="blur()">.NET</a></li>
<li id="syn-python" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('python')" onfocus="blur()">Python</a></li>
<li id="syn-cpp" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('cpp')" onfocus="blur()">C++</a></li>
<li id="syn-c" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('c')" onfocus="blur()">C</a></li>
</ul></div>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<!--OP_REF_HEADER_END-->
<h1 id="sec_name">
<span data-if="hdevelop" style="display:inline;">create_ocr_class_box</span><span data-if="c" style="display:none;">T_create_ocr_class_box</span><span data-if="cpp" style="display:none;">CreateOcrClassBox</span><span data-if="dotnet" style="display:none;">CreateOcrClassBox</span><span data-if="python" style="display:none;">create_ocr_class_box</span> (算子名称)</h1>
<h2>名称</h2>
<p><code><span data-if="hdevelop" style="display:inline;">create_ocr_class_box</span><span data-if="c" style="display:none;">T_create_ocr_class_box</span><span data-if="cpp" style="display:none;">CreateOcrClassBox</span><span data-if="dotnet" style="display:none;">CreateOcrClassBox</span><span data-if="python" style="display:none;">create_ocr_class_box</span></code> — Create a new OCR-classifier.</p>
<h2>警告</h2>
<p><b><code><span data-if="hdevelop" style="display:inline">create_ocr_class_box</span><span data-if="c" style="display:none">create_ocr_class_box</span><span data-if="cpp" style="display:none">CreateOcrClassBox</span><span data-if="com" style="display:none">CreateOcrClassBox</span><span data-if="dotnet" style="display:none">CreateOcrClassBox</span><span data-if="python" style="display:none">create_ocr_class_box</span></code> is obsolete and is only provided for
reasons of backward compatibility.  New applications should use the
MLP, SVM or CNN based operators instead.</b></p>
<h2 id="sec_synopsis">参数签名</h2>
<div data-if="hdevelop" style="display:inline;">
<p>
<code><b>create_ocr_class_box</b>( :  : <a href="#WidthPattern"><i>WidthPattern</i></a>, <a href="#HeightPattern"><i>HeightPattern</i></a>, <a href="#Interpolation"><i>Interpolation</i></a>, <a href="#Features"><i>特征</i></a>, <a href="#Character"><i>Character</i></a> : <a href="#OcrHandle"><i>OcrHandle</i></a>)</code></p>
</div>
<div data-if="c" style="display:none;">
<p>
<code>Herror <b>T_create_ocr_class_box</b>(const Htuple <a href="#WidthPattern"><i>WidthPattern</i></a>, const Htuple <a href="#HeightPattern"><i>HeightPattern</i></a>, const Htuple <a href="#Interpolation"><i>Interpolation</i></a>, const Htuple <a href="#Features"><i>特征</i></a>, const Htuple <a href="#Character"><i>Character</i></a>, Htuple* <a href="#OcrHandle"><i>OcrHandle</i></a>)</code></p>
</div>
<div data-if="cpp" style="display:none;">
<p>
<code>void <b>CreateOcrClassBox</b>(const HTuple&amp; <a href="#WidthPattern"><i>WidthPattern</i></a>, const HTuple&amp; <a href="#HeightPattern"><i>HeightPattern</i></a>, const HTuple&amp; <a href="#Interpolation"><i>Interpolation</i></a>, const HTuple&amp; <a href="#Features"><i>特征</i></a>, const HTuple&amp; <a href="#Character"><i>Character</i></a>, HTuple* <a href="#OcrHandle"><i>OcrHandle</i></a>)</code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>::<b>HOCRBox</b>(Hlong <a href="#WidthPattern"><i>WidthPattern</i></a>, Hlong <a href="#HeightPattern"><i>HeightPattern</i></a>, Hlong <a href="#Interpolation"><i>Interpolation</i></a>, const HTuple&amp; <a href="#Features"><i>特征</i></a>, const HTuple&amp; <a href="#Character"><i>Character</i></a>)</code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>::<b>HOCRBox</b>(Hlong <a href="#WidthPattern"><i>WidthPattern</i></a>, Hlong <a href="#HeightPattern"><i>HeightPattern</i></a>, Hlong <a href="#Interpolation"><i>Interpolation</i></a>, const HString&amp; <a href="#Features"><i>特征</i></a>, const HTuple&amp; <a href="#Character"><i>Character</i></a>)</code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>::<b>HOCRBox</b>(Hlong <a href="#WidthPattern"><i>WidthPattern</i></a>, Hlong <a href="#HeightPattern"><i>HeightPattern</i></a>, Hlong <a href="#Interpolation"><i>Interpolation</i></a>, const char* <a href="#Features"><i>特征</i></a>, const HTuple&amp; <a href="#Character"><i>Character</i></a>)</code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>::<b>HOCRBox</b>(Hlong <a href="#WidthPattern"><i>WidthPattern</i></a>, Hlong <a href="#HeightPattern"><i>HeightPattern</i></a>, Hlong <a href="#Interpolation"><i>Interpolation</i></a>, const wchar_t* <a href="#Features"><i>特征</i></a>, const HTuple&amp; <a href="#Character"><i>Character</i></a>)  <span class="signnote">
            (
            Windows only)
          </span></code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>::<b>CreateOcrClassBox</b>(Hlong <a href="#WidthPattern"><i>WidthPattern</i></a>, Hlong <a href="#HeightPattern"><i>HeightPattern</i></a>, Hlong <a href="#Interpolation"><i>Interpolation</i></a>, const HTuple&amp; <a href="#Features"><i>特征</i></a>, const HTuple&amp; <a href="#Character"><i>Character</i></a>)</code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>::<b>CreateOcrClassBox</b>(Hlong <a href="#WidthPattern"><i>WidthPattern</i></a>, Hlong <a href="#HeightPattern"><i>HeightPattern</i></a>, Hlong <a href="#Interpolation"><i>Interpolation</i></a>, const HString&amp; <a href="#Features"><i>特征</i></a>, const HTuple&amp; <a href="#Character"><i>Character</i></a>)</code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>::<b>CreateOcrClassBox</b>(Hlong <a href="#WidthPattern"><i>WidthPattern</i></a>, Hlong <a href="#HeightPattern"><i>HeightPattern</i></a>, Hlong <a href="#Interpolation"><i>Interpolation</i></a>, const char* <a href="#Features"><i>特征</i></a>, const HTuple&amp; <a href="#Character"><i>Character</i></a>)</code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>::<b>CreateOcrClassBox</b>(Hlong <a href="#WidthPattern"><i>WidthPattern</i></a>, Hlong <a href="#HeightPattern"><i>HeightPattern</i></a>, Hlong <a href="#Interpolation"><i>Interpolation</i></a>, const wchar_t* <a href="#Features"><i>特征</i></a>, const HTuple&amp; <a href="#Character"><i>Character</i></a>)  <span class="signnote">
            (
            Windows only)
          </span></code></p>
</div>
<div data-if="com" style="display:none;"></div>
<div data-if="dotnet" style="display:none;">
<p>
<code>static void <a href="HOperatorSet.html">HOperatorSet</a>.<b>CreateOcrClassBox</b>(<a href="HTuple.html">HTuple</a> <a href="#WidthPattern"><i>widthPattern</i></a>, <a href="HTuple.html">HTuple</a> <a href="#HeightPattern"><i>heightPattern</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Interpolation"><i>interpolation</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Features"><i>特征</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Character"><i>character</i></a>, out <a href="HTuple.html">HTuple</a> <a href="#OcrHandle"><i>ocrHandle</i></a>)</code></p>
<p>
<code>public <a href="HOCRBox.html">HOCRBox</a>(int <a href="#WidthPattern"><i>widthPattern</i></a>, int <a href="#HeightPattern"><i>heightPattern</i></a>, int <a href="#Interpolation"><i>interpolation</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Features"><i>特征</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Character"><i>character</i></a>)</code></p>
<p>
<code>public <a href="HOCRBox.html">HOCRBox</a>(int <a href="#WidthPattern"><i>widthPattern</i></a>, int <a href="#HeightPattern"><i>heightPattern</i></a>, int <a href="#Interpolation"><i>interpolation</i></a>, string <a href="#Features"><i>特征</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Character"><i>character</i></a>)</code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>.<b>CreateOcrClassBox</b>(int <a href="#WidthPattern"><i>widthPattern</i></a>, int <a href="#HeightPattern"><i>heightPattern</i></a>, int <a href="#Interpolation"><i>interpolation</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Features"><i>特征</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Character"><i>character</i></a>)</code></p>
<p>
<code>void <a href="HOCRBox.html">HOCRBox</a>.<b>CreateOcrClassBox</b>(int <a href="#WidthPattern"><i>widthPattern</i></a>, int <a href="#HeightPattern"><i>heightPattern</i></a>, int <a href="#Interpolation"><i>interpolation</i></a>, string <a href="#Features"><i>特征</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Character"><i>character</i></a>)</code></p>
</div>
<div data-if="python" style="display:none;">
<p>
<code>def <b>create_ocr_class_box</b>(<a href="#WidthPattern"><i>width_pattern</i></a>: int, <a href="#HeightPattern"><i>height_pattern</i></a>: int, <a href="#Interpolation"><i>interpolation</i></a>: int, <a href="#Features"><i>特征</i></a>: MaybeSequence[str], <a href="#Character"><i>character</i></a>: Sequence[str]) -&gt; HHandle</code></p>
</div>
<h2 id="sec_description">描述</h2>
<p>该算子 <code><span data-if="hdevelop" style="display:inline">create_ocr_class_box</span><span data-if="c" style="display:none">create_ocr_class_box</span><span data-if="cpp" style="display:none">CreateOcrClassBox</span><span data-if="com" style="display:none">CreateOcrClassBox</span><span data-if="dotnet" style="display:none">CreateOcrClassBox</span><span data-if="python" style="display:none">create_ocr_class_box</span></code> creates a new OCR classifier.
For a description of this classifier see operator
<a href="learn_class_box.html"><code><span data-if="hdevelop" style="display:inline">learn_class_box</span><span data-if="c" style="display:none">learn_class_box</span><span data-if="cpp" style="display:none">LearnClassBox</span><span data-if="com" style="display:none">LearnClassBox</span><span data-if="dotnet" style="display:none">LearnClassBox</span><span data-if="python" style="display:none">learn_class_box</span></code></a>.
This classifier must then be trained with the help of 该算子s
<a href="traind_ocr_class_box.html"><code><span data-if="hdevelop" style="display:inline">traind_ocr_class_box</span><span data-if="c" style="display:none">traind_ocr_class_box</span><span data-if="cpp" style="display:none">TraindOcrClassBox</span><span data-if="com" style="display:none">TraindOcrClassBox</span><span data-if="dotnet" style="display:none">TraindOcrClassBox</span><span data-if="python" style="display:none">traind_ocr_class_box</span></code></a> or <a href="trainf_ocr_class_box.html"><code><span data-if="hdevelop" style="display:inline">trainf_ocr_class_box</span><span data-if="c" style="display:none">trainf_ocr_class_box</span><span data-if="cpp" style="display:none">TrainfOcrClassBox</span><span data-if="com" style="display:none">TrainfOcrClassBox</span><span data-if="dotnet" style="display:none">TrainfOcrClassBox</span><span data-if="python" style="display:none">trainf_ocr_class_box</span></code></a>.
</p>
<p>The parameters <a href="#WidthPattern"><i><code><span data-if="hdevelop" style="display:inline">WidthPattern</span><span data-if="c" style="display:none">WidthPattern</span><span data-if="cpp" style="display:none">WidthPattern</span><span data-if="com" style="display:none">WidthPattern</span><span data-if="dotnet" style="display:none">widthPattern</span><span data-if="python" style="display:none">width_pattern</span></code></i></a> and <a href="#HeightPattern"><i><code><span data-if="hdevelop" style="display:inline">HeightPattern</span><span data-if="c" style="display:none">HeightPattern</span><span data-if="cpp" style="display:none">HeightPattern</span><span data-if="com" style="display:none">HeightPattern</span><span data-if="dotnet" style="display:none">heightPattern</span><span data-if="python" style="display:none">height_pattern</span></code></i></a>
indicate the size of the input-layer of the network.  This size is
used for the features <i><span data-if="hdevelop" style="display:inline">'projection_horizontal'</span><span data-if="c" style="display:none">"projection_horizontal"</span><span data-if="cpp" style="display:none">"projection_horizontal"</span><span data-if="com" style="display:none">"projection_horizontal"</span><span data-if="dotnet" style="display:none">"projection_horizontal"</span><span data-if="python" style="display:none">"projection_horizontal"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'projection_vertical'</span><span data-if="c" style="display:none">"projection_vertical"</span><span data-if="cpp" style="display:none">"projection_vertical"</span><span data-if="com" style="display:none">"projection_vertical"</span><span data-if="dotnet" style="display:none">"projection_vertical"</span><span data-if="python" style="display:none">"projection_vertical"</span></i>, <i><span data-if="hdevelop" style="display:inline">'pixel'</span><span data-if="c" style="display:none">"pixel"</span><span data-if="cpp" style="display:none">"pixel"</span><span data-if="com" style="display:none">"pixel"</span><span data-if="dotnet" style="display:none">"pixel"</span><span data-if="python" style="display:none">"pixel"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'pixel_invar'</span><span data-if="c" style="display:none">"pixel_invar"</span><span data-if="cpp" style="display:none">"pixel_invar"</span><span data-if="com" style="display:none">"pixel_invar"</span><span data-if="dotnet" style="display:none">"pixel_invar"</span><span data-if="python" style="display:none">"pixel_invar"</span></i>, and <i><span data-if="hdevelop" style="display:inline">'pixel_binary'</span><span data-if="c" style="display:none">"pixel_binary"</span><span data-if="cpp" style="display:none">"pixel_binary"</span><span data-if="com" style="display:none">"pixel_binary"</span><span data-if="dotnet" style="display:none">"pixel_binary"</span><span data-if="python" style="display:none">"pixel_binary"</span></i> to transform the
character to a standard size.  The bigger the standard size is, the
more characters can be distinguished.  Hereby the amount of time
necessary for the training (as well as the number of training random
samples) and the time necessary for the recognition, however, will
increase as well.  The parameter <a href="#Interpolation"><i><code><span data-if="hdevelop" style="display:inline">Interpolation</span><span data-if="c" style="display:none">Interpolation</span><span data-if="cpp" style="display:none">Interpolation</span><span data-if="com" style="display:none">Interpolation</span><span data-if="dotnet" style="display:none">interpolation</span><span data-if="python" style="display:none">interpolation</span></code></i></a> indicates
the interpolation mode concerning the adaptation of characters in
the image to the network.  For more detailed information on this
parameter see also <a href="affine_trans_image.html"><code><span data-if="hdevelop" style="display:inline">affine_trans_image</span><span data-if="c" style="display:none">affine_trans_image</span><span data-if="cpp" style="display:none">AffineTransImage</span><span data-if="com" style="display:none">AffineTransImage</span><span data-if="dotnet" style="display:none">AffineTransImage</span><span data-if="python" style="display:none">affine_trans_image</span></code></a>.  The value <i>0</i>
results in the same interpolation as <i><span data-if="hdevelop" style="display:inline">'nearest_neighbor'</span><span data-if="c" style="display:none">"nearest_neighbor"</span><span data-if="cpp" style="display:none">"nearest_neighbor"</span><span data-if="com" style="display:none">"nearest_neighbor"</span><span data-if="dotnet" style="display:none">"nearest_neighbor"</span><span data-if="python" style="display:none">"nearest_neighbor"</span></i> in
<a href="affine_trans_image.html"><code><span data-if="hdevelop" style="display:inline">affine_trans_image</span><span data-if="c" style="display:none">affine_trans_image</span><span data-if="cpp" style="display:none">AffineTransImage</span><span data-if="com" style="display:none">AffineTransImage</span><span data-if="dotnet" style="display:none">AffineTransImage</span><span data-if="python" style="display:none">affine_trans_image</span></code></a>, i.e., no interpolation is performed.
For <i>1</i>, the same behavior as <i><span data-if="hdevelop" style="display:inline">'constant'</span><span data-if="c" style="display:none">"constant"</span><span data-if="cpp" style="display:none">"constant"</span><span data-if="com" style="display:none">"constant"</span><span data-if="dotnet" style="display:none">"constant"</span><span data-if="python" style="display:none">"constant"</span></i> in
<a href="affine_trans_image.html"><code><span data-if="hdevelop" style="display:inline">affine_trans_image</span><span data-if="c" style="display:none">affine_trans_image</span><span data-if="cpp" style="display:none">AffineTransImage</span><span data-if="com" style="display:none">AffineTransImage</span><span data-if="dotnet" style="display:none">AffineTransImage</span><span data-if="python" style="display:none">affine_trans_image</span></code></a> is obtained, i.e., equally weighted
interpolation between adjacent pixels is used.  Finally, <i>2</i>
results in the same interpolation as <i><span data-if="hdevelop" style="display:inline">'weighted'</span><span data-if="c" style="display:none">"weighted"</span><span data-if="cpp" style="display:none">"weighted"</span><span data-if="com" style="display:none">"weighted"</span><span data-if="dotnet" style="display:none">"weighted"</span><span data-if="python" style="display:none">"weighted"</span></i>, i.e.,
Gaussian interpolation between adjacent pixels is used.  The
parameter <a href="#Interpolation"><i><code><span data-if="hdevelop" style="display:inline">Interpolation</span><span data-if="c" style="display:none">Interpolation</span><span data-if="cpp" style="display:none">Interpolation</span><span data-if="com" style="display:none">Interpolation</span><span data-if="dotnet" style="display:none">interpolation</span><span data-if="python" style="display:none">interpolation</span></code></i></a> must be chosen such that no
aliasing occurs when the character is scaled to the standard size.
Typically, this means that <a href="#Interpolation"><i><code><span data-if="hdevelop" style="display:inline">Interpolation</span><span data-if="c" style="display:none">Interpolation</span><span data-if="cpp" style="display:none">Interpolation</span><span data-if="com" style="display:none">Interpolation</span><span data-if="dotnet" style="display:none">interpolation</span><span data-if="python" style="display:none">interpolation</span></code></i></a> should be set to
<i>1</i>, except in cases where the characters are scaled down by
a large amount, in which case <a href="#Interpolation"><i><code><span data-if="hdevelop" style="display:inline">Interpolation</span><span data-if="c" style="display:none">Interpolation</span><span data-if="cpp" style="display:none">Interpolation</span><span data-if="com" style="display:none">Interpolation</span><span data-if="dotnet" style="display:none">interpolation</span><span data-if="python" style="display:none">interpolation</span></code></i></a> = <i>2</i>
should be chosen.  <a href="#Interpolation"><i><code><span data-if="hdevelop" style="display:inline">Interpolation</span><span data-if="c" style="display:none">Interpolation</span><span data-if="cpp" style="display:none">Interpolation</span><span data-if="com" style="display:none">Interpolation</span><span data-if="dotnet" style="display:none">interpolation</span><span data-if="python" style="display:none">interpolation</span></code></i></a> = <i>0</i> should only
be chosen if the characters will not be scaled.
</p>
<p>The parameter <a href="#Character"><i><code><span data-if="hdevelop" style="display:inline">Character</span><span data-if="c" style="display:none">Character</span><span data-if="cpp" style="display:none">Character</span><span data-if="com" style="display:none">Character</span><span data-if="dotnet" style="display:none">character</span><span data-if="python" style="display:none">character</span></code></i></a> determines all the characters
which have to be recognized. Normally the transmitted strings
consist of one character (e.g., alphabet). But also strings of
any length can be learned. The number of distinguishable
characters (number of strings in <a href="#Character"><i><code><span data-if="hdevelop" style="display:inline">Character</span><span data-if="c" style="display:none">Character</span><span data-if="cpp" style="display:none">Character</span><span data-if="com" style="display:none">Character</span><span data-if="dotnet" style="display:none">character</span><span data-if="python" style="display:none">character</span></code></i></a>) is limited
to <i>2048</i>.
</p>
<p>The parameter <a href="#Features"><i><code><span data-if="hdevelop" style="display:inline">特征</span><span data-if="c" style="display:none">特征</span><span data-if="cpp" style="display:none">特征</span><span data-if="com" style="display:none">特征</span><span data-if="dotnet" style="display:none">特征</span><span data-if="python" style="display:none">特征</span></code></i></a> helps to chose additional
features besides gray values in order to recognize characters.
</p>
<p>The following features are available:
</p>
<dl class="generic">

<dt><b><i><span data-if="hdevelop" style="display:inline">'default'</span><span data-if="c" style="display:none">"default"</span><span data-if="cpp" style="display:none">"default"</span><span data-if="com" style="display:none">"default"</span><span data-if="dotnet" style="display:none">"default"</span><span data-if="python" style="display:none">"default"</span></i></b></dt>
<dd>
<p>

<i><span data-if="hdevelop" style="display:inline">'ratio'</span><span data-if="c" style="display:none">"ratio"</span><span data-if="cpp" style="display:none">"ratio"</span><span data-if="com" style="display:none">"ratio"</span><span data-if="dotnet" style="display:none">"ratio"</span><span data-if="python" style="display:none">"ratio"</span></i> and <i><span data-if="hdevelop" style="display:inline">'pixel_invar'</span><span data-if="c" style="display:none">"pixel_invar"</span><span data-if="cpp" style="display:none">"pixel_invar"</span><span data-if="com" style="display:none">"pixel_invar"</span><span data-if="dotnet" style="display:none">"pixel_invar"</span><span data-if="python" style="display:none">"pixel_invar"</span></i> are selected.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'ratio'</span><span data-if="c" style="display:none">"ratio"</span><span data-if="cpp" style="display:none">"ratio"</span><span data-if="com" style="display:none">"ratio"</span><span data-if="dotnet" style="display:none">"ratio"</span><span data-if="python" style="display:none">"ratio"</span></i></b></dt>
<dd>
<p>

Ratio of the character.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'width'</span><span data-if="c" style="display:none">"width"</span><span data-if="cpp" style="display:none">"width"</span><span data-if="com" style="display:none">"width"</span><span data-if="dotnet" style="display:none">"width"</span><span data-if="python" style="display:none">"width"</span></i></b></dt>
<dd>
<p>

Width of the character (not invariant to scaling).
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'height'</span><span data-if="c" style="display:none">"height"</span><span data-if="cpp" style="display:none">"height"</span><span data-if="com" style="display:none">"height"</span><span data-if="dotnet" style="display:none">"height"</span><span data-if="python" style="display:none">"height"</span></i></b></dt>
<dd>
<p>

Height of the character (not invariant to scaling).
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'zoom_factor'</span><span data-if="c" style="display:none">"zoom_factor"</span><span data-if="cpp" style="display:none">"zoom_factor"</span><span data-if="com" style="display:none">"zoom_factor"</span><span data-if="dotnet" style="display:none">"zoom_factor"</span><span data-if="python" style="display:none">"zoom_factor"</span></i></b></dt>
<dd>
<p>

Difference in size between the current character and the
values of <a href="#WidthPattern"><i><code><span data-if="hdevelop" style="display:inline">WidthPattern</span><span data-if="c" style="display:none">WidthPattern</span><span data-if="cpp" style="display:none">WidthPattern</span><span data-if="com" style="display:none">WidthPattern</span><span data-if="dotnet" style="display:none">widthPattern</span><span data-if="python" style="display:none">width_pattern</span></code></i></a> and <a href="#HeightPattern"><i><code><span data-if="hdevelop" style="display:inline">HeightPattern</span><span data-if="c" style="display:none">HeightPattern</span><span data-if="cpp" style="display:none">HeightPattern</span><span data-if="com" style="display:none">HeightPattern</span><span data-if="dotnet" style="display:none">heightPattern</span><span data-if="python" style="display:none">height_pattern</span></code></i></a>
(not invariant to scaling).
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'foreground'</span><span data-if="c" style="display:none">"foreground"</span><span data-if="cpp" style="display:none">"foreground"</span><span data-if="com" style="display:none">"foreground"</span><span data-if="dotnet" style="display:none">"foreground"</span><span data-if="python" style="display:none">"foreground"</span></i></b></dt>
<dd>
<p>

Relative number of pixels in the foreground.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'foreground_grid_9'</span><span data-if="c" style="display:none">"foreground_grid_9"</span><span data-if="cpp" style="display:none">"foreground_grid_9"</span><span data-if="com" style="display:none">"foreground_grid_9"</span><span data-if="dotnet" style="display:none">"foreground_grid_9"</span><span data-if="python" style="display:none">"foreground_grid_9"</span></i></b></dt>
<dd>
<p>

Relative number of foreground pixels in a 3x3 grid within
the surrounding rectangle of the character.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'foreground_grid_16'</span><span data-if="c" style="display:none">"foreground_grid_16"</span><span data-if="cpp" style="display:none">"foreground_grid_16"</span><span data-if="com" style="display:none">"foreground_grid_16"</span><span data-if="dotnet" style="display:none">"foreground_grid_16"</span><span data-if="python" style="display:none">"foreground_grid_16"</span></i></b></dt>
<dd>
<p>

Relative number of foreground pixels in a 4x4 grid within
the surrounding rectangle of the character.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'anisometry'</span><span data-if="c" style="display:none">"anisometry"</span><span data-if="cpp" style="display:none">"anisometry"</span><span data-if="com" style="display:none">"anisometry"</span><span data-if="dotnet" style="display:none">"anisometry"</span><span data-if="python" style="display:none">"anisometry"</span></i></b></dt>
<dd>
<p>

Form feature anisometry.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'compactness'</span><span data-if="c" style="display:none">"compactness"</span><span data-if="cpp" style="display:none">"compactness"</span><span data-if="com" style="display:none">"compactness"</span><span data-if="dotnet" style="display:none">"compactness"</span><span data-if="python" style="display:none">"compactness"</span></i></b></dt>
<dd>
<p>

Form feature compactness.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'convexity'</span><span data-if="c" style="display:none">"convexity"</span><span data-if="cpp" style="display:none">"convexity"</span><span data-if="com" style="display:none">"convexity"</span><span data-if="dotnet" style="display:none">"convexity"</span><span data-if="python" style="display:none">"convexity"</span></i></b></dt>
<dd>
<p>

Form feature convexity.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'moments_region_2nd_invar'</span><span data-if="c" style="display:none">"moments_region_2nd_invar"</span><span data-if="cpp" style="display:none">"moments_region_2nd_invar"</span><span data-if="com" style="display:none">"moments_region_2nd_invar"</span><span data-if="dotnet" style="display:none">"moments_region_2nd_invar"</span><span data-if="python" style="display:none">"moments_region_2nd_invar"</span></i></b></dt>
<dd>
<p>

Normed 2nd geometric moments of the region. See also
<a href="moments_region_2nd_invar.html"><code><span data-if="hdevelop" style="display:inline">moments_region_2nd_invar</span><span data-if="c" style="display:none">moments_region_2nd_invar</span><span data-if="cpp" style="display:none">MomentsRegion2ndInvar</span><span data-if="com" style="display:none">MomentsRegion2ndInvar</span><span data-if="dotnet" style="display:none">MomentsRegion2ndInvar</span><span data-if="python" style="display:none">moments_region_2nd_invar</span></code></a>.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'moments_region_2nd_rel_invar'</span><span data-if="c" style="display:none">"moments_region_2nd_rel_invar"</span><span data-if="cpp" style="display:none">"moments_region_2nd_rel_invar"</span><span data-if="com" style="display:none">"moments_region_2nd_rel_invar"</span><span data-if="dotnet" style="display:none">"moments_region_2nd_rel_invar"</span><span data-if="python" style="display:none">"moments_region_2nd_rel_invar"</span></i></b></dt>
<dd>
<p>

Normed 2nd relative geometric moments of the region. See also
<a href="moments_region_2nd_rel_invar.html"><code><span data-if="hdevelop" style="display:inline">moments_region_2nd_rel_invar</span><span data-if="c" style="display:none">moments_region_2nd_rel_invar</span><span data-if="cpp" style="display:none">MomentsRegion2ndRelInvar</span><span data-if="com" style="display:none">MomentsRegion2ndRelInvar</span><span data-if="dotnet" style="display:none">MomentsRegion2ndRelInvar</span><span data-if="python" style="display:none">moments_region_2nd_rel_invar</span></code></a>.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'moments_region_3rd_invar'</span><span data-if="c" style="display:none">"moments_region_3rd_invar"</span><span data-if="cpp" style="display:none">"moments_region_3rd_invar"</span><span data-if="com" style="display:none">"moments_region_3rd_invar"</span><span data-if="dotnet" style="display:none">"moments_region_3rd_invar"</span><span data-if="python" style="display:none">"moments_region_3rd_invar"</span></i></b></dt>
<dd>
<p>

Normed 3rd geometric moments of the region. See also
<a href="moments_region_3rd_invar.html"><code><span data-if="hdevelop" style="display:inline">moments_region_3rd_invar</span><span data-if="c" style="display:none">moments_region_3rd_invar</span><span data-if="cpp" style="display:none">MomentsRegion3rdInvar</span><span data-if="com" style="display:none">MomentsRegion3rdInvar</span><span data-if="dotnet" style="display:none">MomentsRegion3rdInvar</span><span data-if="python" style="display:none">moments_region_3rd_invar</span></code></a>.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'moments_central'</span><span data-if="c" style="display:none">"moments_central"</span><span data-if="cpp" style="display:none">"moments_central"</span><span data-if="com" style="display:none">"moments_central"</span><span data-if="dotnet" style="display:none">"moments_central"</span><span data-if="python" style="display:none">"moments_central"</span></i></b></dt>
<dd>
<p>

Normed central geometric moments of the region. See also
<a href="moments_region_central.html"><code><span data-if="hdevelop" style="display:inline">moments_region_central</span><span data-if="c" style="display:none">moments_region_central</span><span data-if="cpp" style="display:none">MomentsRegionCentral</span><span data-if="com" style="display:none">MomentsRegionCentral</span><span data-if="dotnet" style="display:none">MomentsRegionCentral</span><span data-if="python" style="display:none">moments_region_central</span></code></a>.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'phi'</span><span data-if="c" style="display:none">"phi"</span><span data-if="cpp" style="display:none">"phi"</span><span data-if="com" style="display:none">"phi"</span><span data-if="dotnet" style="display:none">"phi"</span><span data-if="python" style="display:none">"phi"</span></i></b></dt>
<dd>
<p>

Sine and cosine of the orientation (angle) of the character.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'num_connect'</span><span data-if="c" style="display:none">"num_connect"</span><span data-if="cpp" style="display:none">"num_connect"</span><span data-if="com" style="display:none">"num_connect"</span><span data-if="dotnet" style="display:none">"num_connect"</span><span data-if="python" style="display:none">"num_connect"</span></i></b></dt>
<dd>
<p>

Number of connecting components.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'num_holes'</span><span data-if="c" style="display:none">"num_holes"</span><span data-if="cpp" style="display:none">"num_holes"</span><span data-if="com" style="display:none">"num_holes"</span><span data-if="dotnet" style="display:none">"num_holes"</span><span data-if="python" style="display:none">"num_holes"</span></i></b></dt>
<dd>
<p>

Number of holes.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'projection_horizontal'</span><span data-if="c" style="display:none">"projection_horizontal"</span><span data-if="cpp" style="display:none">"projection_horizontal"</span><span data-if="com" style="display:none">"projection_horizontal"</span><span data-if="dotnet" style="display:none">"projection_horizontal"</span><span data-if="python" style="display:none">"projection_horizontal"</span></i></b></dt>
<dd>
<p>

Horizontal projection of the gray values.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'projection_horizontal_invar'</span><span data-if="c" style="display:none">"projection_horizontal_invar"</span><span data-if="cpp" style="display:none">"projection_horizontal_invar"</span><span data-if="com" style="display:none">"projection_horizontal_invar"</span><span data-if="dotnet" style="display:none">"projection_horizontal_invar"</span><span data-if="python" style="display:none">"projection_horizontal_invar"</span></i></b></dt>
<dd>
<p>

Horizontal projection of the gray values with are automatically
scaled to maximum range.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'projection_vertical'</span><span data-if="c" style="display:none">"projection_vertical"</span><span data-if="cpp" style="display:none">"projection_vertical"</span><span data-if="com" style="display:none">"projection_vertical"</span><span data-if="dotnet" style="display:none">"projection_vertical"</span><span data-if="python" style="display:none">"projection_vertical"</span></i></b></dt>
<dd>
<p>

Vertical projection of the gray values.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'projection_vertical_invar'</span><span data-if="c" style="display:none">"projection_vertical_invar"</span><span data-if="cpp" style="display:none">"projection_vertical_invar"</span><span data-if="com" style="display:none">"projection_vertical_invar"</span><span data-if="dotnet" style="display:none">"projection_vertical_invar"</span><span data-if="python" style="display:none">"projection_vertical_invar"</span></i></b></dt>
<dd>
<p>

Vertical projection of the gray values with are automatically
scaled to maximum range.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'cooc'</span><span data-if="c" style="display:none">"cooc"</span><span data-if="cpp" style="display:none">"cooc"</span><span data-if="com" style="display:none">"cooc"</span><span data-if="dotnet" style="display:none">"cooc"</span><span data-if="python" style="display:none">"cooc"</span></i></b></dt>
<dd>
<p>

Values of the binary cooccurrence matrix.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'moments_gray_plane'</span><span data-if="c" style="display:none">"moments_gray_plane"</span><span data-if="cpp" style="display:none">"moments_gray_plane"</span><span data-if="com" style="display:none">"moments_gray_plane"</span><span data-if="dotnet" style="display:none">"moments_gray_plane"</span><span data-if="python" style="display:none">"moments_gray_plane"</span></i></b></dt>
<dd>
<p>

Normed gray value moments and the angles of the gray value level.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'num_runs'</span><span data-if="c" style="display:none">"num_runs"</span><span data-if="cpp" style="display:none">"num_runs"</span><span data-if="com" style="display:none">"num_runs"</span><span data-if="dotnet" style="display:none">"num_runs"</span><span data-if="python" style="display:none">"num_runs"</span></i></b></dt>
<dd>
<p>

Number of chords in the region normed to the height.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'chord_histo'</span><span data-if="c" style="display:none">"chord_histo"</span><span data-if="cpp" style="display:none">"chord_histo"</span><span data-if="com" style="display:none">"chord_histo"</span><span data-if="dotnet" style="display:none">"chord_histo"</span><span data-if="python" style="display:none">"chord_histo"</span></i></b></dt>
<dd>
<p>

Frequency of the chords per row (not scale-invariant).
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'pixel'</span><span data-if="c" style="display:none">"pixel"</span><span data-if="cpp" style="display:none">"pixel"</span><span data-if="com" style="display:none">"pixel"</span><span data-if="dotnet" style="display:none">"pixel"</span><span data-if="python" style="display:none">"pixel"</span></i></b></dt>
<dd>
<p>

Gray value of the character.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'pixel_invar'</span><span data-if="c" style="display:none">"pixel_invar"</span><span data-if="cpp" style="display:none">"pixel_invar"</span><span data-if="com" style="display:none">"pixel_invar"</span><span data-if="dotnet" style="display:none">"pixel_invar"</span><span data-if="python" style="display:none">"pixel_invar"</span></i></b></dt>
<dd>
<p>

Gray values of the character with automatic maximal scaling
of the gray values.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'pixel_binary'</span><span data-if="c" style="display:none">"pixel_binary"</span><span data-if="cpp" style="display:none">"pixel_binary"</span><span data-if="com" style="display:none">"pixel_binary"</span><span data-if="dotnet" style="display:none">"pixel_binary"</span><span data-if="python" style="display:none">"pixel_binary"</span></i></b></dt>
<dd>
<p>

Region of the character as a binary image zoomed to a size of
<a href="#WidthPattern"><i><code><span data-if="hdevelop" style="display:inline">WidthPattern</span><span data-if="c" style="display:none">WidthPattern</span><span data-if="cpp" style="display:none">WidthPattern</span><span data-if="com" style="display:none">WidthPattern</span><span data-if="dotnet" style="display:none">widthPattern</span><span data-if="python" style="display:none">width_pattern</span></code></i></a> x <a href="#HeightPattern"><i><code><span data-if="hdevelop" style="display:inline">HeightPattern</span><span data-if="c" style="display:none">HeightPattern</span><span data-if="cpp" style="display:none">HeightPattern</span><span data-if="com" style="display:none">HeightPattern</span><span data-if="dotnet" style="display:none">heightPattern</span><span data-if="python" style="display:none">height_pattern</span></code></i></a>.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'gradient_8dir'</span><span data-if="c" style="display:none">"gradient_8dir"</span><span data-if="cpp" style="display:none">"gradient_8dir"</span><span data-if="com" style="display:none">"gradient_8dir"</span><span data-if="dotnet" style="display:none">"gradient_8dir"</span><span data-if="python" style="display:none">"gradient_8dir"</span></i></b></dt>
<dd>
<p>

Gradients are computed on the character image.  The gradient
directions are discretized into 8 directions.  The amplitude image
is decomposed into 8 channels according to these discretized
directions.  25 samples on a 5x5 grid are extracted from
each channel. These samples are used as features.
</p>
</dd>
</dl>
<h2 id="sec_execution">运行信息</h2>
<ul>
  <li>多线程类型:可重入(与非独占操作符并行运行)。</li>
<li>多线程作用域:全局(可以从任何线程调用)。</li>
  <li>未经并行化处理。</li>
</ul>
<p>This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.</p>
<h2 id="sec_parameters">参数表</h2>
  <div class="par">
<div class="parhead">
<span id="WidthPattern" class="parname"><b><code><span data-if="hdevelop" style="display:inline">WidthPattern</span><span data-if="c" style="display:none">WidthPattern</span><span data-if="cpp" style="display:none">WidthPattern</span><span data-if="com" style="display:none">WidthPattern</span><span data-if="dotnet" style="display:none">widthPattern</span><span data-if="python" style="display:none">width_pattern</span></code></b> (input_control)  </span><span>integer <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">int</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (integer)</span><span data-if="dotnet" style="display:none"> (<i>int</i> / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>Hlong</i>)</span><span data-if="c" style="display:none"> (<i>Hlong</i>)</span></span>
</div>
<p class="pardesc">Width of the input layer of the network.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>8</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span>1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 20</p>
<p class="pardesc"><span class="parcat">Value range:
      </span><code>1
          ≤
        
    <span data-if="hdevelop" style="display:inline">WidthPattern</span>
    <span data-if="c" style="display:none">WidthPattern</span>
    <span data-if="cpp" style="display:none">WidthPattern</span>
    <span data-if="com" style="display:none">WidthPattern</span>
    <span data-if="dotnet" style="display:none">widthPattern</span>
    <span data-if="python" style="display:none">width_pattern</span>
    
          ≤
          100</code></p>
</div>
  <div class="par">
<div class="parhead">
<span id="HeightPattern" class="parname"><b><code><span data-if="hdevelop" style="display:inline">HeightPattern</span><span data-if="c" style="display:none">HeightPattern</span><span data-if="cpp" style="display:none">HeightPattern</span><span data-if="com" style="display:none">HeightPattern</span><span data-if="dotnet" style="display:none">heightPattern</span><span data-if="python" style="display:none">height_pattern</span></code></b> (input_control)  </span><span>integer <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">int</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (integer)</span><span data-if="dotnet" style="display:none"> (<i>int</i> / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>Hlong</i>)</span><span data-if="c" style="display:none"> (<i>Hlong</i>)</span></span>
</div>
<p class="pardesc">Height of the input layer of the network.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>10</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span>1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 20</p>
<p class="pardesc"><span class="parcat">Value range:
      </span><code>1
          ≤
        
    <span data-if="hdevelop" style="display:inline">HeightPattern</span>
    <span data-if="c" style="display:none">HeightPattern</span>
    <span data-if="cpp" style="display:none">HeightPattern</span>
    <span data-if="com" style="display:none">HeightPattern</span>
    <span data-if="dotnet" style="display:none">heightPattern</span>
    <span data-if="python" style="display:none">height_pattern</span>
    
          ≤
          100</code></p>
</div>
  <div class="par">
<div class="parhead">
<span id="Interpolation" class="parname"><b><code><span data-if="hdevelop" style="display:inline">Interpolation</span><span data-if="c" style="display:none">Interpolation</span><span data-if="cpp" style="display:none">Interpolation</span><span data-if="com" style="display:none">Interpolation</span><span data-if="dotnet" style="display:none">interpolation</span><span data-if="python" style="display:none">interpolation</span></code></b> (input_control)  </span><span>integer <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">int</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (integer)</span><span data-if="dotnet" style="display:none"> (<i>int</i> / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>Hlong</i>)</span><span data-if="c" style="display:none"> (<i>Hlong</i>)</span></span>
</div>
<p class="pardesc">Interpolation mode concerning scaling of characters.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>1</p>
<p class="pardesc"><span class="parcat">List of values:
      </span>0, 1, 2</p>
</div>
  <div class="par">
<div class="parhead">
<span id="Features" class="parname"><b><code><span data-if="hdevelop" style="display:inline">特征</span><span data-if="c" style="display:none">特征</span><span data-if="cpp" style="display:none">特征</span><span data-if="com" style="display:none">特征</span><span data-if="dotnet" style="display:none">特征</span><span data-if="python" style="display:none">特征</span></code></b> (input_control)  </span><span>string(-array) <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">MaybeSequence[str]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">Additional features.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'default'</span>
    <span data-if="c" style="display:none">"default"</span>
    <span data-if="cpp" style="display:none">"default"</span>
    <span data-if="com" style="display:none">"default"</span>
    <span data-if="dotnet" style="display:none">"default"</span>
    <span data-if="python" style="display:none">"default"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'anisometry'</span><span data-if="c" style="display:none">"anisometry"</span><span data-if="cpp" style="display:none">"anisometry"</span><span data-if="com" style="display:none">"anisometry"</span><span data-if="dotnet" style="display:none">"anisometry"</span><span data-if="python" style="display:none">"anisometry"</span>, <span data-if="hdevelop" style="display:inline">'chord_histo'</span><span data-if="c" style="display:none">"chord_histo"</span><span data-if="cpp" style="display:none">"chord_histo"</span><span data-if="com" style="display:none">"chord_histo"</span><span data-if="dotnet" style="display:none">"chord_histo"</span><span data-if="python" style="display:none">"chord_histo"</span>, <span data-if="hdevelop" style="display:inline">'compactness'</span><span data-if="c" style="display:none">"compactness"</span><span data-if="cpp" style="display:none">"compactness"</span><span data-if="com" style="display:none">"compactness"</span><span data-if="dotnet" style="display:none">"compactness"</span><span data-if="python" style="display:none">"compactness"</span>, <span data-if="hdevelop" style="display:inline">'convexity'</span><span data-if="c" style="display:none">"convexity"</span><span data-if="cpp" style="display:none">"convexity"</span><span data-if="com" style="display:none">"convexity"</span><span data-if="dotnet" style="display:none">"convexity"</span><span data-if="python" style="display:none">"convexity"</span>, <span data-if="hdevelop" style="display:inline">'cooc'</span><span data-if="c" style="display:none">"cooc"</span><span data-if="cpp" style="display:none">"cooc"</span><span data-if="com" style="display:none">"cooc"</span><span data-if="dotnet" style="display:none">"cooc"</span><span data-if="python" style="display:none">"cooc"</span>, <span data-if="hdevelop" style="display:inline">'default'</span><span data-if="c" style="display:none">"default"</span><span data-if="cpp" style="display:none">"default"</span><span data-if="com" style="display:none">"default"</span><span data-if="dotnet" style="display:none">"default"</span><span data-if="python" style="display:none">"default"</span>, <span data-if="hdevelop" style="display:inline">'foreground'</span><span data-if="c" style="display:none">"foreground"</span><span data-if="cpp" style="display:none">"foreground"</span><span data-if="com" style="display:none">"foreground"</span><span data-if="dotnet" style="display:none">"foreground"</span><span data-if="python" style="display:none">"foreground"</span>, <span data-if="hdevelop" style="display:inline">'foreground_grid_16'</span><span data-if="c" style="display:none">"foreground_grid_16"</span><span data-if="cpp" style="display:none">"foreground_grid_16"</span><span data-if="com" style="display:none">"foreground_grid_16"</span><span data-if="dotnet" style="display:none">"foreground_grid_16"</span><span data-if="python" style="display:none">"foreground_grid_16"</span>, <span data-if="hdevelop" style="display:inline">'foreground_grid_9'</span><span data-if="c" style="display:none">"foreground_grid_9"</span><span data-if="cpp" style="display:none">"foreground_grid_9"</span><span data-if="com" style="display:none">"foreground_grid_9"</span><span data-if="dotnet" style="display:none">"foreground_grid_9"</span><span data-if="python" style="display:none">"foreground_grid_9"</span>, <span data-if="hdevelop" style="display:inline">'gradient_8dir'</span><span data-if="c" style="display:none">"gradient_8dir"</span><span data-if="cpp" style="display:none">"gradient_8dir"</span><span data-if="com" style="display:none">"gradient_8dir"</span><span data-if="dotnet" style="display:none">"gradient_8dir"</span><span data-if="python" style="display:none">"gradient_8dir"</span>, <span data-if="hdevelop" style="display:inline">'height'</span><span data-if="c" style="display:none">"height"</span><span data-if="cpp" style="display:none">"height"</span><span data-if="com" style="display:none">"height"</span><span data-if="dotnet" style="display:none">"height"</span><span data-if="python" style="display:none">"height"</span>, <span data-if="hdevelop" style="display:inline">'moments_central'</span><span data-if="c" style="display:none">"moments_central"</span><span data-if="cpp" style="display:none">"moments_central"</span><span data-if="com" style="display:none">"moments_central"</span><span data-if="dotnet" style="display:none">"moments_central"</span><span data-if="python" style="display:none">"moments_central"</span>, <span data-if="hdevelop" style="display:inline">'moments_gray_plane'</span><span data-if="c" style="display:none">"moments_gray_plane"</span><span data-if="cpp" style="display:none">"moments_gray_plane"</span><span data-if="com" style="display:none">"moments_gray_plane"</span><span data-if="dotnet" style="display:none">"moments_gray_plane"</span><span data-if="python" style="display:none">"moments_gray_plane"</span>, <span data-if="hdevelop" style="display:inline">'moments_region_2nd_invar'</span><span data-if="c" style="display:none">"moments_region_2nd_invar"</span><span data-if="cpp" style="display:none">"moments_region_2nd_invar"</span><span data-if="com" style="display:none">"moments_region_2nd_invar"</span><span data-if="dotnet" style="display:none">"moments_region_2nd_invar"</span><span data-if="python" style="display:none">"moments_region_2nd_invar"</span>, <span data-if="hdevelop" style="display:inline">'moments_region_2nd_rel_invar'</span><span data-if="c" style="display:none">"moments_region_2nd_rel_invar"</span><span data-if="cpp" style="display:none">"moments_region_2nd_rel_invar"</span><span data-if="com" style="display:none">"moments_region_2nd_rel_invar"</span><span data-if="dotnet" style="display:none">"moments_region_2nd_rel_invar"</span><span data-if="python" style="display:none">"moments_region_2nd_rel_invar"</span>, <span data-if="hdevelop" style="display:inline">'moments_region_3rd_invar'</span><span data-if="c" style="display:none">"moments_region_3rd_invar"</span><span data-if="cpp" style="display:none">"moments_region_3rd_invar"</span><span data-if="com" style="display:none">"moments_region_3rd_invar"</span><span data-if="dotnet" style="display:none">"moments_region_3rd_invar"</span><span data-if="python" style="display:none">"moments_region_3rd_invar"</span>, <span data-if="hdevelop" style="display:inline">'num_connect'</span><span data-if="c" style="display:none">"num_connect"</span><span data-if="cpp" style="display:none">"num_connect"</span><span data-if="com" style="display:none">"num_connect"</span><span data-if="dotnet" style="display:none">"num_connect"</span><span data-if="python" style="display:none">"num_connect"</span>, <span data-if="hdevelop" style="display:inline">'num_holes'</span><span data-if="c" style="display:none">"num_holes"</span><span data-if="cpp" style="display:none">"num_holes"</span><span data-if="com" style="display:none">"num_holes"</span><span data-if="dotnet" style="display:none">"num_holes"</span><span data-if="python" style="display:none">"num_holes"</span>, <span data-if="hdevelop" style="display:inline">'num_runs'</span><span data-if="c" style="display:none">"num_runs"</span><span data-if="cpp" style="display:none">"num_runs"</span><span data-if="com" style="display:none">"num_runs"</span><span data-if="dotnet" style="display:none">"num_runs"</span><span data-if="python" style="display:none">"num_runs"</span>, <span data-if="hdevelop" style="display:inline">'phi'</span><span data-if="c" style="display:none">"phi"</span><span data-if="cpp" style="display:none">"phi"</span><span data-if="com" style="display:none">"phi"</span><span data-if="dotnet" style="display:none">"phi"</span><span data-if="python" style="display:none">"phi"</span>, <span data-if="hdevelop" style="display:inline">'pixel'</span><span data-if="c" style="display:none">"pixel"</span><span data-if="cpp" style="display:none">"pixel"</span><span data-if="com" style="display:none">"pixel"</span><span data-if="dotnet" style="display:none">"pixel"</span><span data-if="python" style="display:none">"pixel"</span>, <span data-if="hdevelop" style="display:inline">'pixel_binary'</span><span data-if="c" style="display:none">"pixel_binary"</span><span data-if="cpp" style="display:none">"pixel_binary"</span><span data-if="com" style="display:none">"pixel_binary"</span><span data-if="dotnet" style="display:none">"pixel_binary"</span><span data-if="python" style="display:none">"pixel_binary"</span>, <span data-if="hdevelop" style="display:inline">'pixel_invar'</span><span data-if="c" style="display:none">"pixel_invar"</span><span data-if="cpp" style="display:none">"pixel_invar"</span><span data-if="com" style="display:none">"pixel_invar"</span><span data-if="dotnet" style="display:none">"pixel_invar"</span><span data-if="python" style="display:none">"pixel_invar"</span>, <span data-if="hdevelop" style="display:inline">'projection_horizontal'</span><span data-if="c" style="display:none">"projection_horizontal"</span><span data-if="cpp" style="display:none">"projection_horizontal"</span><span data-if="com" style="display:none">"projection_horizontal"</span><span data-if="dotnet" style="display:none">"projection_horizontal"</span><span data-if="python" style="display:none">"projection_horizontal"</span>, <span data-if="hdevelop" style="display:inline">'projection_horizontal_invar'</span><span data-if="c" style="display:none">"projection_horizontal_invar"</span><span data-if="cpp" style="display:none">"projection_horizontal_invar"</span><span data-if="com" style="display:none">"projection_horizontal_invar"</span><span data-if="dotnet" style="display:none">"projection_horizontal_invar"</span><span data-if="python" style="display:none">"projection_horizontal_invar"</span>, <span data-if="hdevelop" style="display:inline">'projection_vertical'</span><span data-if="c" style="display:none">"projection_vertical"</span><span data-if="cpp" style="display:none">"projection_vertical"</span><span data-if="com" style="display:none">"projection_vertical"</span><span data-if="dotnet" style="display:none">"projection_vertical"</span><span data-if="python" style="display:none">"projection_vertical"</span>, <span data-if="hdevelop" style="display:inline">'projection_vertical_invar'</span><span data-if="c" style="display:none">"projection_vertical_invar"</span><span data-if="cpp" style="display:none">"projection_vertical_invar"</span><span data-if="com" style="display:none">"projection_vertical_invar"</span><span data-if="dotnet" style="display:none">"projection_vertical_invar"</span><span data-if="python" style="display:none">"projection_vertical_invar"</span>, <span data-if="hdevelop" style="display:inline">'ratio'</span><span data-if="c" style="display:none">"ratio"</span><span data-if="cpp" style="display:none">"ratio"</span><span data-if="com" style="display:none">"ratio"</span><span data-if="dotnet" style="display:none">"ratio"</span><span data-if="python" style="display:none">"ratio"</span>, <span data-if="hdevelop" style="display:inline">'width'</span><span data-if="c" style="display:none">"width"</span><span data-if="cpp" style="display:none">"width"</span><span data-if="com" style="display:none">"width"</span><span data-if="dotnet" style="display:none">"width"</span><span data-if="python" style="display:none">"width"</span>, <span data-if="hdevelop" style="display:inline">'zoom_factor'</span><span data-if="c" style="display:none">"zoom_factor"</span><span data-if="cpp" style="display:none">"zoom_factor"</span><span data-if="com" style="display:none">"zoom_factor"</span><span data-if="dotnet" style="display:none">"zoom_factor"</span><span data-if="python" style="display:none">"zoom_factor"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="Character" class="parname"><b><code><span data-if="hdevelop" style="display:inline">Character</span><span data-if="c" style="display:none">Character</span><span data-if="cpp" style="display:none">Character</span><span data-if="com" style="display:none">Character</span><span data-if="dotnet" style="display:none">character</span><span data-if="python" style="display:none">character</span></code></b> (input_control)  </span><span>string-array <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">Sequence[str]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">All characters of a set.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">['a','b','c']</span>
    <span data-if="c" style="display:none">["a","b","c"]</span>
    <span data-if="cpp" style="display:none">["a","b","c"]</span>
    <span data-if="com" style="display:none">["a","b","c"]</span>
    <span data-if="dotnet" style="display:none">["a","b","c"]</span>
    <span data-if="python" style="display:none">["a","b","c"]</span>
</p>
</div>
  <div class="par">
<div class="parhead">
<span id="OcrHandle" class="parname"><b><code><span data-if="hdevelop" style="display:inline">OcrHandle</span><span data-if="c" style="display:none">OcrHandle</span><span data-if="cpp" style="display:none">OcrHandle</span><span data-if="com" style="display:none">OcrHandle</span><span data-if="dotnet" style="display:none">ocrHandle</span><span data-if="python" style="display:none">ocr_handle</span></code></b> (output_control)  </span><span>ocr_box <code>→</code> <span data-if="dotnet" style="display:none"><a href="HOCRBox.html">HOCRBox</a>, </span><span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">HHandle</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (handle)</span><span data-if="dotnet" style="display:none"> (<i>IntPtr</i>)</span><span data-if="cpp" style="display:none"> (<i>HHandle</i>)</span><span data-if="c" style="display:none"> (<i>handle</i>)</span></span>
</div>
<p class="pardesc">ID of the created OCR classifier.</p>
</div>
<div data-if="hdevelop" style="display:inline">
</div>
<div data-if="c" style="display:none">
<h2 id="sec_example_c">例程 (C)</h2>
<pre class="example">
HTuple     WidthPattern,HeightPattern,Interpolation,
           Features,OcrHandle;
create_tuple(&amp;WidthPattern,1);
set_i(WidthPattern,8,0);
create_tuple(&amp;HeightPattern,1);
set_i(HeightPattern,10,0);
create_tuple(&amp;Interpolation,1);
set_i(Interpolation,1,0);
create_tuple(&amp;Features,1);
set_s(Features,"default",0);
create_tuple(&amp;Character,26+26+10);
set_s(Character,"a",0);
set_s(Character,"b",1);
/* ... */
set_s(Character,"A",27);
set_s(Character,"B",28);
/* ... */
set_s(Character,"1",53);
set_s(Character,"2",54);
/* ... */
T_create_ocr_class_box(WidthPattern,HeightPattern,Interpolation,
                       Features,Character,&amp;OcrHandle);
</pre>
</div>
<div data-if="cpp" style="display:none">
</div>
<div data-if="com" style="display:none">
</div>
<div data-if="dotnet" style="display:none">
</div>
<h2 id="sec_result">结果</h2>
<p>If the parameters are correct, 该算子
<code><span data-if="hdevelop" style="display:inline">create_ocr_class_box</span><span data-if="c" style="display:none">create_ocr_class_box</span><span data-if="cpp" style="display:none">CreateOcrClassBox</span><span data-if="com" style="display:none">CreateOcrClassBox</span><span data-if="dotnet" style="display:none">CreateOcrClassBox</span><span data-if="python" style="display:none">create_ocr_class_box</span></code> 返回值 <TT>2</TT> (
      <TT>H_MSG_TRUE</TT>)
    .
Otherwise an exception will be raised.
</p>
<h2 id="sec_predecessors">可能的前置算子</h2>
<p>
<code><a href="reset_obj_db.html"><span data-if="hdevelop" style="display:inline">reset_obj_db</span><span data-if="c" style="display:none">reset_obj_db</span><span data-if="cpp" style="display:none">ResetObjDb</span><span data-if="com" style="display:none">ResetObjDb</span><span data-if="dotnet" style="display:none">ResetObjDb</span><span data-if="python" style="display:none">reset_obj_db</span></a></code>
</p>
<h2 id="sec_successors">可能的后置算子</h2>
<p>
<code><a href="traind_ocr_class_box.html"><span data-if="hdevelop" style="display:inline">traind_ocr_class_box</span><span data-if="c" style="display:none">traind_ocr_class_box</span><span data-if="cpp" style="display:none">TraindOcrClassBox</span><span data-if="com" style="display:none">TraindOcrClassBox</span><span data-if="dotnet" style="display:none">TraindOcrClassBox</span><span data-if="python" style="display:none">traind_ocr_class_box</span></a></code>, 
<code><a href="trainf_ocr_class_box.html"><span data-if="hdevelop" style="display:inline">trainf_ocr_class_box</span><span data-if="c" style="display:none">trainf_ocr_class_box</span><span data-if="cpp" style="display:none">TrainfOcrClassBox</span><span data-if="com" style="display:none">TrainfOcrClassBox</span><span data-if="dotnet" style="display:none">TrainfOcrClassBox</span><span data-if="python" style="display:none">trainf_ocr_class_box</span></a></code>, 
<code><a href="info_ocr_class_box.html"><span data-if="hdevelop" style="display:inline">info_ocr_class_box</span><span data-if="c" style="display:none">info_ocr_class_box</span><span data-if="cpp" style="display:none">InfoOcrClassBox</span><span data-if="com" style="display:none">InfoOcrClassBox</span><span data-if="dotnet" style="display:none">InfoOcrClassBox</span><span data-if="python" style="display:none">info_ocr_class_box</span></a></code>, 
<code><a href="write_ocr.html"><span data-if="hdevelop" style="display:inline">write_ocr</span><span data-if="c" style="display:none">write_ocr</span><span data-if="cpp" style="display:none">WriteOcr</span><span data-if="com" style="display:none">WriteOcr</span><span data-if="dotnet" style="display:none">WriteOcr</span><span data-if="python" style="display:none">write_ocr</span></a></code>, 
<code><a href="ocr_change_char.html"><span data-if="hdevelop" style="display:inline">ocr_change_char</span><span data-if="c" style="display:none">ocr_change_char</span><span data-if="cpp" style="display:none">OcrChangeChar</span><span data-if="com" style="display:none">OcrChangeChar</span><span data-if="dotnet" style="display:none">OcrChangeChar</span><span data-if="python" style="display:none">ocr_change_char</span></a></code>
</p>
<h2 id="sec_alternatives">可替代算子</h2>
<p>
<code><a href="create_ocr_class_mlp.html"><span data-if="hdevelop" style="display:inline">create_ocr_class_mlp</span><span data-if="c" style="display:none">create_ocr_class_mlp</span><span data-if="cpp" style="display:none">CreateOcrClassMlp</span><span data-if="com" style="display:none">CreateOcrClassMlp</span><span data-if="dotnet" style="display:none">CreateOcrClassMlp</span><span data-if="python" style="display:none">create_ocr_class_mlp</span></a></code>, 
<code><a href="create_ocr_class_svm.html"><span data-if="hdevelop" style="display:inline">create_ocr_class_svm</span><span data-if="c" style="display:none">create_ocr_class_svm</span><span data-if="cpp" style="display:none">CreateOcrClassSvm</span><span data-if="com" style="display:none">CreateOcrClassSvm</span><span data-if="dotnet" style="display:none">CreateOcrClassSvm</span><span data-if="python" style="display:none">create_ocr_class_svm</span></a></code>
</p>
<h2 id="sec_see">参考其它</h2>
<p>
<code><a href="affine_trans_image.html"><span data-if="hdevelop" style="display:inline">affine_trans_image</span><span data-if="c" style="display:none">affine_trans_image</span><span data-if="cpp" style="display:none">AffineTransImage</span><span data-if="com" style="display:none">AffineTransImage</span><span data-if="dotnet" style="display:none">AffineTransImage</span><span data-if="python" style="display:none">affine_trans_image</span></a></code>, 
<code><a href="ocr_change_char.html"><span data-if="hdevelop" style="display:inline">ocr_change_char</span><span data-if="c" style="display:none">ocr_change_char</span><span data-if="cpp" style="display:none">OcrChangeChar</span><span data-if="com" style="display:none">OcrChangeChar</span><span data-if="dotnet" style="display:none">OcrChangeChar</span><span data-if="python" style="display:none">ocr_change_char</span></a></code>, 
<code><a href="moments_region_2nd_invar.html"><span data-if="hdevelop" style="display:inline">moments_region_2nd_invar</span><span data-if="c" style="display:none">moments_region_2nd_invar</span><span data-if="cpp" style="display:none">MomentsRegion2ndInvar</span><span data-if="com" style="display:none">MomentsRegion2ndInvar</span><span data-if="dotnet" style="display:none">MomentsRegion2ndInvar</span><span data-if="python" style="display:none">moments_region_2nd_invar</span></a></code>, 
<code><a href="moments_region_2nd_rel_invar.html"><span data-if="hdevelop" style="display:inline">moments_region_2nd_rel_invar</span><span data-if="c" style="display:none">moments_region_2nd_rel_invar</span><span data-if="cpp" style="display:none">MomentsRegion2ndRelInvar</span><span data-if="com" style="display:none">MomentsRegion2ndRelInvar</span><span data-if="dotnet" style="display:none">MomentsRegion2ndRelInvar</span><span data-if="python" style="display:none">moments_region_2nd_rel_invar</span></a></code>, 
<code><a href="moments_region_3rd_invar.html"><span data-if="hdevelop" style="display:inline">moments_region_3rd_invar</span><span data-if="c" style="display:none">moments_region_3rd_invar</span><span data-if="cpp" style="display:none">MomentsRegion3rdInvar</span><span data-if="com" style="display:none">MomentsRegion3rdInvar</span><span data-if="dotnet" style="display:none">MomentsRegion3rdInvar</span><span data-if="python" style="display:none">moments_region_3rd_invar</span></a></code>, 
<code><a href="moments_region_central.html"><span data-if="hdevelop" style="display:inline">moments_region_central</span><span data-if="c" style="display:none">moments_region_central</span><span data-if="cpp" style="display:none">MomentsRegionCentral</span><span data-if="com" style="display:none">MomentsRegionCentral</span><span data-if="dotnet" style="display:none">MomentsRegionCentral</span><span data-if="python" style="display:none">moments_region_central</span></a></code>
</p>
<h2 id="sec_module">模块</h2>
<p>
OCR/OCV</p>
<!--OP_REF_FOOTER_START-->
<hr>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<div class="footer">
<div class="copyright">HALCON算子参考手册 Copyright © 2015-2023 51Halcon</div>
</div>
</div>
</body>
</html>
